import math
import re, os

lists_str = ""
path = os.path.dirname(__file__)
path = os.path.join(path, "stocks.txt")
with open(path, "r", encoding="utf-8") as f:
    while True:
        line = f.readline()
        if line:
            line = re.split("\t|\n", line)
            lists_str += f"'{line[1]}' , # {line[0]}\n"
        else:
            break

print(lists_str)
